/*
package cn.zymall.user.controller;

import cn.zymall.common.controller.crud.BaseController;
import cn.zymall.common.model.RolePermissions;
import cn.zymall.user.service.RolePermissionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

*//*

*/
/**
 * @ClassName: RolePermissionController
 * @Description: TODO(RolePermission)表控制层
 * @author: 欧泽昌
 * @date: 2020/8/22 17:03
 * @version: V1.0
 *//*


import cn.zymall.common.controller.crud.BaseController;
import cn.zymall.common.model.RolePermissions;
import cn.zymall.user.service.RolePermissionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@RequestMapping("RolePermission")
public class RolePermissionController extends BaseController<RolePermissionService, RolePermissions> {
	@Autowired
	RolePermissionService rolePermissionService;
	*/
/**
	 * @Author 欧泽昌
	 * @Description //新增权限
	 * @Date 2020/8/25 16:00
	 * @Param [bean]
	 * @return boolean
	 **//*


import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

@Override
	public boolean insert(@RequestBody RolePermissions bean) {
		return super.insert(bean);
	}

	*/
/**
	 * @Author 欧泽昌
	 * @Description //查询角色权限,不传参查全部
	 * @Date 2020/8/25 16:00
	 * @Param [bean]
	 * @return boolean
	 **//*

	@RequestMapping("query")
	public List<RolePermissions> query(RolePermissions rolePermissions) {
		System.out.println(rolePermissions);
		return rolePermissionService.query(rolePermissions);
	}
	*/
/*
	 * @Author 欧泽昌
	 * @Description //修改角色权限信息
	 * @Date 2020/8/25 16:01
	 * @Param [bean]
	 * @return boolean
	 **//*

	@Override
	public boolean update(@RequestBody RolePermissions bean) {
		System.out.println(bean);
		return super.update(bean);
	}
}

*/
